mod tests {

    use snowflaker::generator::{Generator, SnowflakeGenerator};

    #[test]
    pub fn test_snow_flake() {
        let snowflaker = SnowflakeGenerator::builtin().unwrap();
        for _i in 0..10 {
            println!("{}", (snowflaker.next_id().unwrap() >>22) /1000/60/60/24);
        }

        println!("{}", (634759419191367_i64>>12)/1000/60/60/24);
    }
}
